//
//  MTChatViewController.m
//  ShiShiBang
//
//  Created by 宋宝强 on 16/9/15.
//  Copyright © 2016年 motianjituan. All rights reserved.
//

#import "MTChatViewController.h"
#import "UIViewController+JTNavigationExtension.h"

@interface MTChatViewController ()

@end

@implementation MTChatViewController

+(instancetype)shareChatViewController
{
    static MTChatViewController *_instance;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _instance = [[self alloc]init];
    });
    return _instance;
}
- (void)viewDidLoad {
    [super viewDidLoad];
//    [self.navigationController setNavigationBarHidden:YES];
    self.navigationItem.title = @"聊天";
    self.jt_fullScreenPopGestureEnabled = YES; 
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];
}

@end
